package com.dongdongshop.data;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class PageUtil<T> {
    private List<T> rows;
    private Long total;
    private Integer pageNum;
    private Integer pageSize;
}
